#pragma once


// COperatorPropertyGridCtrl

class COperatorPropertyGridCtrl : public CMFCPropertyGridCtrl
{
	DECLARE_DYNAMIC(COperatorPropertyGridCtrl)

public:
	COperatorPropertyGridCtrl();
	virtual ~COperatorPropertyGridCtrl();

protected:
	CFont m_fntPropList;

protected:
	void	SetPropListFont();

public:
	void	Init2();
	void	Populate(ck::Operator* pOperator);

protected:
	void	PopulateInfo(ck::Operator* pOperator);
	void	PopulateInput(ck::OpInput* pInput);
	void	PopulateOutput(ck::Operator* pOperator);
	void	PopulateRule(ck::OpRule* pRule);

protected:
	void	AddArgment(CMFCPropertyGridProperty* pGroup, ck::Argument* pArgument);
	void	AddConstraint(CMFCPropertyGridProperty* pGroup, ck::Constraint* pConstraint);

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};


